import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/hazard_equip_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/hazard_equip_entity.g.dart';

@JsonSerializable()
class HazardEquipEntity {

	HazardEquipEntity();

	factory HazardEquipEntity.fromJson(Map<String, dynamic> json) => $HazardEquipEntityFromJson(json);
	String? backupLinkAddress = '';
	String? buildDate = '';
	String? bypassSwitchTotalLocaleNo = '';
	String? chemicalProcessType = '';
	String? chemicalProcessTypeDicId = '';
	String? companyCode = '';
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
	String? deleted = '';
	int? designReserve = 0;
	String? equipCode = '';
	String? equipDescribe = '';
	String? equipName = '';
	String? equipStatus = '';
	String? equipType = '';
	String? equipTypeDicId = '';
	int? floorArea = 0;
	String? hazardCode = '';
	String? id = '';
	int? interlockingCount = 0;
	int? latitude = 0;
	int? liquidLevel = 0;
	int? longitude = 0;
	String? mainSwitchStatusLocaleNo = '';
	String? maintenanceDate = '';
	String? manLinkAddress = '';
	String? medium = '';
	String? mediumStatus = '';
	String? mediumStatusDicId = '';
	String? monitorGas = '';
	String? monitorType = '';
	String? monitorTypeDicId = '';
	String? parameterDesc = '';
	int? pressureDesign = 0;
	int? pressureMax = 0;
	String? pressureType = '';
	String? pressureTypeDicId = '';
	String? ptInfo = '';
	int? rangeDown = 0;
	int? rangeUp = 0;
	int? reserves = 0;
	String? riskObjectId = '';
	String? startDate = '';
	String? storeType = '';
	String? storeTypeDicId = '';
	String? tankType = '';
	String? tankTypeDicId = '';
	String? targetCode = '';
	String? targetName = '';
	String? targetType = '';
	int? temperatureMax = 0;
	int? temperatureMin = 0;
	String? temperatureType = '';
	String? temperatureTypeDicId = '';
	int? thresholdDown = 0;
	int? thresholdDown2 = 0;
	int? thresholdUp = 0;
	int? thresholdUp2 = 0;
	String? unit = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';
	String? useDate = '';

	Map<String, dynamic> toJson() => $HazardEquipEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
